<?php 
	include 'connect.php';
	$id_tema = 1;
	$tema = $_POST['temi'];
	mysql_query("UPDATE temi SET nome_tema='$tema' WHERE id='$id_tema'") or die(mysql_error());
	echo '<script language=javascript>document.location.href="./../index.php"</script>';
?>